import sbt._
import Keys._
import play.Project._
//import cloudbees.Plugin._

object ApplicationBuild extends Build {

  val appName = "RedWaffle"
  val appVersion = "1.0-SNAPSHOT"

  val appDependencies = Seq(
    // Add your project dependencies here,
    javaCore,
    javaJdbc,
    javaEbean,
    "mysql" % "mysql-connector-java" % "5.1.18",
    "commons-io" % "commons-io" % "2.3",
    "commons-lang" % "commons-lang" % "2.6")

  val main = play.Project(appName, appVersion, appDependencies)
    .settings(javascriptEntryPoints <<= (sourceDirectory in Compile)(base =>
      ((base / "assets" ** "*.js") --- (base / "assets" ** "_*")).get))

}
